home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.txt / 000082_gquiring@gmail.com_Mon Feb 26 14:49:03 2007.msg < prev    next >
Text File  |  2020-01-01  |  4KB  |  108 lines

  1. Path: reader2.panix.com!panix!newsfeed.media.kyoto-u.ac.jp!postnews.google.com!z35g2000cwz.googlegroups.com!not-for-mail
  2. From: "Gary Quiring" <gquiring@gmail.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: SSL Solaris 9 compile errors
  5. Date: 26 Feb 2007 07:25:54 -0800
  6. Organization: http://groups.google.com
  7. Lines: 76
  8. Message-ID: <1172503554.928519.186200@z35g2000cwz.googlegroups.com>
  9. References: <1171461754.452734.293090@a75g2000cwd.googlegroups.com>
  10.    <slrnet6bnr.t17.fdc@panix1.panix.com>
  11.    <1171474573.115000.277200@v45g2000cwv.googlegroups.com>
  12.    <slrnet95nd.1b6.fdc@panix2.panix.com>
  13.    <1171585254.113397.40400@v33g2000cwv.googlegroups.com>
  14.    <slrnetc6ch.8ae.fdc@panix1.panix.com>
  15.    <1172066927.099583.146980@j27g2000cwj.googlegroups.com>
  16.    <slrnetp1rf.1j0.fdc@panix1.panix.com>
  17.    <1172090871.101683.127130@l53g2000cwa.googlegroups.com>
  18.    <slrnetro08.nif.fdc@panix3.panix.com>
  19. NNTP-Posting-Host: 65.207.116.34
  20. Mime-Version: 1.0
  21. Content-Type: text/plain; charset="iso-8859-1"
  22. X-Trace: posting.google.com 1172503571 5146 127.0.0.1 (26 Feb 2007 15:26:11 GMT)
  23. X-Complaints-To: groups-abuse@google.com
  24. NNTP-Posting-Date: Mon, 26 Feb 2007 15:26:11 +0000 (UTC)
  25. In-Reply-To: <slrnetro08.nif.fdc@panix3.panix.com>
  26. User-Agent: G2/1.0
  27. X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser; Avant Browser; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1),gzip(gfe),gzip(gfe)
  28. Complaints-To: groups-abuse@google.com
  29. Injection-Info: z35g2000cwz.googlegroups.com; posting-host=65.207.116.34;
  30.    posting-account=FQhNKw0AAABpZoI-99pbw0OCE1cm_48O
  31. Xref: panix comp.protocols.kermit.misc:15654
  32.  
  33. >   cd /usr/local/ssl/include/openssl
  34. >   grep OPENSSL_VERSION_TEXT opensslv.h
  35. >
  36.  
  37. #define OPENSSL_VERSION_TEXT    "OpenSSL 0.9.8d-fips 28 Sep 2006"
  38. #define OPENSSL_VERSION_TEXT    "OpenSSL 0.9.8d 28 Sep 2006"
  39. #define OPENSSL_VERSION_PTEXT   " part of " OPENSSL_VERSION_TEXT
  40.  
  41. > What happens if you omit the -DOPENSSL_097 flag, but leave everything else the
  42. > same?
  43.  
  44. With KFLAGS or without KFLAGS I get the exact same error:
  45. In file included from /usr/local/ssl/include/openssl/x509.h:96,
  46.                 from /usr/local/ssl/include/openssl/ssl.h:183,
  47.                 from ck_ssl.h:43,
  48.                 from ckcmai.c:607:
  49. /usr/local/ssl/include/openssl/rsa.h:335: error: parse error before
  50. numeric constant
  51. /usr/local/ssl/include/openssl/rsa.h:336: error: parse error before
  52. numeric constant
  53.  
  54. Frank there has to be some compat issue with Kermit, I got this answer
  55. from someone on the Solaris forum who also had issues:
  56.  
  57. i've done this with kermit 2.0.11 and openssl 0.9.7l.  i don't know
  58. if
  59. openssl 0.9.8 is supported with kermit 2.0.11.  seems like i found
  60. something on the kermit web site that indicated it was not.
  61.  
  62. i used the Sun C compiler to do all of the builds.
  63.  
  64.  
  65. after building openssl and installing in /usr/local/openssl, here's
  66. what i did to get SSL support in kermit:
  67.  
  68.  
  69. In the kermit makefile, uncomment the LNKFLAGS= line.
  70.  
  71.  
  72. In the kermit makefile, change the make target named
  73. solaris2xg32+openssl+zlib+pam+shadow as shown
  74.  
  75.  
  76. solaris2xg32+openssl+zlib+pam+shadow:
  77.         @echo 'Making C-Kermit $(CKVER) for Solaris 2.x with SUNWspro
  78. cc, OpenSSL...'
  79.         @echo 'Please read the comments that accompany the solaris2xg
  80. target.'
  81.         $(MAKE) xermit KTARGET=$${KTARGET:-$(@)} \
  82.         "CFLAGS = -g -O -Usun -DOPENSSL_097 -DSVR4 -DSOLARIS9 -
  83. DSTERMIOX -DSELECT -DFNFLOAT \
  84.         -DCK_CURSES -DCK_NEWTERM -DDIRENT -DHDBUUCP -DTCPSOCKET \
  85.         -DCK_AUTHENTICATION -DCK_SSL -DCK_PAM -DCK_SHADOW  -DZLIB \
  86.         -DBIGBUFOK -I/usr/local/openssl/include" \
  87.         "LIBS= -L/usr/local/openssl/lib -ltermlib \
  88.         -lsocket -lnsl -lm -lresolv -lssl -lcrypto -lpam -lz"
  89.  
  90.  
  91. Edit the file ck_ssl.h and add the line:
  92.  
  93.  
  94. #undef EM
  95.  
  96.  
  97. in the following location (the newly added line should be line number
  98. 42 in the file):
  99.  
  100.  
  101. #define OPENSSL_NO_MDC2
  102. #undef EM
  103. #include <openssl/des.h>
  104. #include <openssl/ssl.h>
  105.  
  106. What does that EM line do?
  107.  
  108.